import { useRipple } from "@usehook"

export default function (app) {
    app.directive("ripple", {
        mounted(el, binding) {
            const center = binding.modifiers.center
            useRipple(el, { center })
        }
    })
}